package Manage.execrise;

public class MainTest {
        public static void main(String[] args) {
            Student student1 =  new Student(101,19,"小明","男");
            Student student2 =  new Student(102,20,"小红","女");
            Teacher teacher1 =  new Teacher(001,38,"王老师","女");
            Teacher teacher2 =  new Teacher(002,35,"张老师","男");
            Course course1 =  new Course("Java","综合教学楼103","星期四上午十点");
            Course course2 =  new Course("Python","综合教学楼203","星期二早上八点");



            System.out.println("学生的编号是:"+ student1.id+ " " + "姓名:"+ student1.name + " "+"选择的课程是"+ course1.name
                    + "\n上课时间是" + course1.time + " " + "地点在" + course1.place
                    +"\n该课程老师是"+teacher2.name + " " + "是一位"+teacher2.gender+"老师"
            );
            System.out.println("-------------------------------------");
            System.out.println("学生的编号是:"+ student2.id+ " " + "姓名:"+ student2.name + " "+"选择的课程是"+course2.name
                    + "\n上课时间是" + course2.time + " " + "地点在" + course2.place
                    +"\n该课程老师是"+teacher1.name + " " + "是一位"+teacher1.gender+"老师");
        }
}
